import Layout from '@/layout'

export default {
  path: '/shop',
  component: Layout,
  redirect: '/shop/edit',
  name: 'Shop',
  meta: { title: '店铺管理', icon: 'lock', noCache: true, roles: ['shop'] },
  children: [
    {
      path: 'edit',
      name: 'ShopEdit',
      component: () => import('@/views/shop/edit'),
      meta: { title: '资料查看', icon: 'star', noCache: true }
    },
    {
      path: 'desc',
      name: 'ShopDesc',
      component: () => import('@/views/shop/desc'),
      meta: { title: '店铺简介', icon: 'star', noCache: true }
    },
  ]
}
